//
//  HJCenterTitleCell.m
//  KaiChat
//
//  Created by lx on 2023/11/6.
//

#import "HJCenterTitleCell.h"

@interface HJCenterTitleCell()

@property (nonatomic, weak) UILabel *titleLabel;

@end


@implementation HJCenterTitleCell


- (void)settingSubView {
 
    self.backgroundColor = UIColor.whiteColor;
        
    _titleLabel = [UILabel lableWithSuperView:self.contentView font:UIFontMediumMake(14) color:UIColor.tj_333333Color title:nil textAlignment:NSTextAlignmentLeft];
    [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.center.offset(0);
    }];
}

- (void)setModel:(HJCellModel *)model {
    _model = model;
    
    _titleLabel.text = model.text;
    _titleLabel.textColor = model.textColor;
}
 


@end
